{{if ENV !== 'product'}}
  <div class="case-cate">
    <ul>
      <li><a href="#">现代简约</a></li>
      <li><a href="#">雅正新中</a></li>
      <li><a href="#">欧美风情</a></li>
      <li><a href="#">单品</a></li>
    </ul>
  </div>
  <div class="clearfix case-cate-list">
    <a href="list_case.html" class="item">
      <img src="/@@/images/case/cate_1.jpg" alt="">
      <div class="text">玄关 | 客厅</div>
    </a>
    <a href="list_case.html" class="item">
      <img src="/@@/images/case/cate_2.jpg" alt="">
      <div class="text">卧室 | 书房</div>
    </a>
    <a href="list_case.html" class="item">
      <img src="/@@/images/case/cate_3.jpg" alt="">
      <div class="text">餐厅 | 厨房</div>
    </a>
    <a href="list_case.html" class="item">
      <img src="/@@/images/case/cate_4.jpg" alt="">
      <div class="text">楼梯 | 房门</div>
    </a>
  </div>
{{else}}
  <div class="case-cate">
    <ul>
      {loop source=get_list_nav('') item=$nav}
      <li><a class="{print $nav['class']/}" href="{print $nav['url']/}" title="{print $nav['cate_name']/}">{print $nav['cate_name']/}</a></li>
      {/loop}
    </ul>
  </div>
  <div class="clearfix case-cate-list">
    {loop source=get_list_nav('') item=$nav}
    {if $nav['autoindex']<5}<a href="{print $nav['url']/}" class="item">
      <img src="/assets/images/case/cate_{print $nav['autoindex']/}.jpg" alt="">
      <div class="text">{print $nav['cate_name']/}</div>
    </a>{/if}
    {/loop}
  </div>
{{/if}}